import request from "@/utils/request";
// 获取学生数据
// export const getStudents = () => {
//   return request.get('/students')
// }
//获取，查询，重置都这个
export const getStudents = (params) => {
  return request.get('/students', {
    params
  })
}
// 删除学生数据
export const deleteStudent = (id) => {
  return request.delete(`/students/${id}`)
}
// export const findReset=(data=>{
//   return request.get('/students',{
//     data
//   })
// })